﻿using System.Collections.Generic;

namespace MiniProfilerWebApplication1.Biz.Models
{
    public class Order
    {
        public Order()
        {
            this.OrderItems = new HashSet<OrderItem>();
        }

        #region 公共属性
        public long Id { get; set; }

        public string OrderCode { get; set; }

        public string UserId { get; set; }
        #endregion

        public virtual User User { get; set; }

        public virtual ICollection<OrderItem> OrderItems { get; set; }
    }
}
